import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';

/// 广场
class ATHSquareContent extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return EasyRefresh.custom(
      header: MaterialHeader(),
      onRefresh: () async {},
      slivers: [
        SliverList(
            delegate: SliverChildBuilderDelegate((ctx, index) {
          return ATHSquareItem();
        }, childCount: 10))
      ],
    );
  }
}

class ATHSquareItem extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
